package cn.edu.paisi.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * 
 * </p>
 *
 * @author en.edu.paisi
 * @since 2021-03-02
 */
public class Students extends Model<Students> {

    private static final long serialVersionUID = 1L;

    /**
     * 学生编号
     */
    @TableId
    private Integer stuId;

    /**
     * 学生姓名
     */
    private String stuName;

    /**
     * 学生性别
     */
    private String stuSex;

    /**
     * 学生年龄
     */
    private Integer stuAge;

    /**
     * 学生电话
     */
    private String stuTel;

    /**
     * 学生邮箱
     */
    private String stuMail;

    /**
     * 学生职称
     */
    private String stuMaster;

    /**
     * 学生账号
     */
    private Integer stuAccount;

    /**
     * 学生密码
     */
    private String stuPsw;

    /**
     * 学生时间
     */
    private String stuHiredate;

    /**
     * 角色
     */
    private String stuRole;


    public Integer getStuId() {
        return stuId;
    }

    public void setStuId(Integer stuId) {
        this.stuId = stuId;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuSex() {
        return stuSex;
    }

    public void setStuSex(String stuSex) {
        this.stuSex = stuSex;
    }

    public Integer getStuAge() {
        return stuAge;
    }

    public void setStuAge(Integer stuAge) {
        this.stuAge = stuAge;
    }

    public String getStuTel() {
        return stuTel;
    }

    public void setStuTel(String stuTel) {
        this.stuTel = stuTel;
    }

    public String getStuMail() {
        return stuMail;
    }

    public void setStuMail(String stuMail) {
        this.stuMail = stuMail;
    }

    public String getStuMaster() {
        return stuMaster;
    }

    public void setStuMaster(String stuMaster) {
        this.stuMaster = stuMaster;
    }

    public Integer getStuAccount() {
        return stuAccount;
    }

    public void setStuAccount(Integer stuAccount) {
        this.stuAccount = stuAccount;
    }

    public String getStuPsw() {
        return stuPsw;
    }

    public void setStuPsw(String stuPsw) {
        this.stuPsw = stuPsw;
    }

    public String getStuHiredate() {
        return stuHiredate;
    }

    public void setStuHiredate(String stuHiredate) {
        this.stuHiredate = stuHiredate;
    }

    public String getStuRole() {
        return stuRole;
    }

    public void setStuRole(String stuRole) {
        this.stuRole = stuRole;
    }

    @Override
    protected Serializable pkVal() {
        return this.stuId;
    }

    @Override
    public String toString() {
        return "Students{" +
        "stuId=" + stuId +
        ", stuName=" + stuName +
        ", stuSex=" + stuSex +
        ", stuAge=" + stuAge +
        ", stuTel=" + stuTel +
        ", stuMail=" + stuMail +
        ", stuMaster=" + stuMaster +
        ", stuAccount=" + stuAccount +
        ", stuPsw=" + stuPsw +
        ", stuHiredate=" + stuHiredate +
        ", stuRole=" + stuRole +
        "}";
    }
}
